/* ==========================================================================
Main page styles
========================================================================== */

.hipster {
    display: inline-block;
    width: 347px;
    height: 497px;
    background: url("../../content/images/hipster.png") no-repeat center top;
    background-size: contain;
}
.left{
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
}
.button1 {
    background-color: white;
    color: black;
}

.button1:hover {
    color: black;
    font-size:20px;
    font-weight:520;
}
.bookdiv{
    text-align:center;
    margin-top:1.5em;
}
.booktext{
    margin-top:1em;
}
.bookcover{
    width:150px;
    height:220px;
    margin:0 auto;
}

.bookcover img{
    width:100%;
    height:100%;
}
.bookname,bookauth{
    max-width:200px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    text-align:center;
    margin:0 auto;
}
.viewpager{
    width:100%;
    height:100%;
}
.typename{
    font-family:'宋体';
    font-size: 22px;
    text-align: center;
}

.pagebanner{
    width:100%;
    min-height:360px;
    background-image:url("../../content/images/bookbg.jpg");
    background-size:cover;
    background-position:center center;
    background-repeat: no-repeat;
}

#booktype{
    list-style: none;
    margin-left:120px;
}

#booktype li{
    float:left;
    margin-right:15px;
    padding-right:15px;
    border-right:1px solid rgba(100,100,100,0.1);
}

#booktype li:last-child{
    border-right:none;
}

#booktype li span{
   color:#4183c4;
    cursor:pointer;
}
.typediv{
    width:100%;
    padding:10px;
    background:rgba(200,200,200,0.2);
}

.typetext{
    margin-left:100px;float:left;
    font-weight:500;
}
/* wait autoprefixer update to allow simple generation of high pixel density media query */
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {
    .hipster {
        background: url("../../content/images/hipster2x.png") no-repeat center top;
        background-size: contain;
    }
}
